!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[FormContainer_FormContainerSkin]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[FormContainer_FormContainerSkin]"]=t(require("react")):e["rb_wixui.thunderbolt[FormContainer_FormContainerSkin]"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(){var t={40841:function(e,t){var n; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;te.map((e=>`wixui-${e}`)).join(" "),u="mesh-container-content",c="inline-content",p=e=>i().createElement("div",{key:e.props.id+"-rotated-wrapper","data-mesh-id":e.props.id+"-rotated-wrapper"},e);var l=e=>{const n=e.id,r=e.className,o=e.wedges,a=void 0===o?[]:o,d=e.rotatedComponents,l=void 0===d?[]:d,f=e.children,m=e.fixedComponents,v=void 0===m?[]:m,h=e.extraClassName,b=void 0===h?"":h,y=e.renderRotatedComponents,x=void 0===y?p:y,C=i().Children.toArray(f()),g=[],S=[];C.forEach((e=>v.includes(e.props.id)?g.push(e):S.push(e)));const _=(e=>{const n=e.wedges,r=e.rotatedComponents,o=e.childrenArray,a=e.renderRotatedComponents,s=r.reduce(((e,n)=>t()({},e,{[n]:!0})),{});return[...o.map((e=>{return s[(t=e,t.props.id.split("__")[0])]?a(e):e;var t})),...n.map((e=>i().createElement("div",{key:e,"data-mesh-id":e})))]})({childrenArray:S,rotatedComponents:l,wedges:a,renderRotatedComponents:x});return i().createElement("div",t()({},(e=>Object.entries(e).reduce(((e,[t,n])=>(t.includes("data-")&&(e[t]=n),e)),{}))(e),{"data-mesh-id":n+"inlineContent","data-testid":c,className:s()(r,b)}),i().createElement("div",{"data-mesh-id":n+"inlineContent-gridContainer","data-testid":u},_),g)};var f={root:"form"};const m=e=>{const t=e.id,r=e.className,o=e.onSubmit,i=e.children,a=e.onMouseEnter,s=e.onMouseLeave;return n.createElement("form",{id:t,onMouseEnter:a,onMouseLeave:s,className:r,onSubmit:e=>{e.preventDefault(),o&&(e.persist(),o(e))}},i)};var v="JVi7i2",h="d3n4V3";const b={FormContainer_FormContainerSkin:{component:e=>{const r=e.id,o=e.meshProps,i=e.onSubmit,a=e.children,u=e.onMouseEnter,c=e.onMouseLeave,p=e.inlineBorder,b=e.className,y=e.customClassNames,x=void 0===y?[]:y,C=t()({id:r},o,{children:a});return n.createElement(m,{id:r,className:s()(p?"":v,b,d(f.root,...x)),onSubmit:i,onMouseEnter:u,onMouseLeave:c},p&&n.createElement("div",{className:s()(v,h)}),n.createElement(l,C))}}}}(),o}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[FormContainer_FormContainerSkin].76bbc68d.bundle.min.js.map